package com.ruoyi.peopleinfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就诊历史对象 people_history
 * 
 * @author y
 * @date 2022-03-03
 */
public class PeopleHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String peopleIdcard;

    /** 姓名 */
    @Excel(name = "姓名")
    private String peopleName;

    /** 性别 */
    @Excel(name = "性别")
    private String peopleSex;

    /** 症状 */
    @Excel(name = "症状")
    private String peopleSym;

    /** 主治医生 */
    @Excel(name = "主治医生")
    private String peopleDoctor;

    /** 治疗药物 */
    @Excel(name = "治疗药物")
    private String peopleMedicine;

    /** 就诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "就诊日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date peopleHistoryDate;

    /** 花费金额(元) */
    @Excel(name = "花费金额(元)")
    private BigDecimal takeprice;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPeopleIdcard(String peopleIdcard) 
    {
        this.peopleIdcard = peopleIdcard;
    }

    public String getPeopleIdcard() 
    {
        return peopleIdcard;
    }
    public void setPeopleName(String peopleName) 
    {
        this.peopleName = peopleName;
    }

    public String getPeopleName() 
    {
        return peopleName;
    }
    public void setPeopleSex(String peopleSex) 
    {
        this.peopleSex = peopleSex;
    }

    public String getPeopleSex() 
    {
        return peopleSex;
    }
    public void setPeopleSym(String peopleSym) 
    {
        this.peopleSym = peopleSym;
    }

    public String getPeopleSym() 
    {
        return peopleSym;
    }
    public void setPeopleDoctor(String peopleDoctor) 
    {
        this.peopleDoctor = peopleDoctor;
    }

    public String getPeopleDoctor() 
    {
        return peopleDoctor;
    }
    public void setPeopleMedicine(String peopleMedicine) 
    {
        this.peopleMedicine = peopleMedicine;
    }

    public String getPeopleMedicine() 
    {
        return peopleMedicine;
    }
    public void setPeopleHistoryDate(Date peopleHistoryDate) 
    {
        this.peopleHistoryDate = peopleHistoryDate;
    }

    public Date getPeopleHistoryDate() 
    {
        return peopleHistoryDate;
    }
    public void setTakeprice(BigDecimal takeprice) 
    {
        this.takeprice = takeprice;
    }

    public BigDecimal getTakeprice() 
    {
        return takeprice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("peopleIdcard", getPeopleIdcard())
            .append("peopleName", getPeopleName())
            .append("peopleSex", getPeopleSex())
            .append("peopleSym", getPeopleSym())
            .append("peopleDoctor", getPeopleDoctor())
            .append("peopleMedicine", getPeopleMedicine())
            .append("peopleHistoryDate", getPeopleHistoryDate())
            .append("takeprice", getTakeprice())
            .toString();
    }
}
